//
// Created by xumy on 2021/8/7.
//

#include "iostream"

using namespace std;

class Box {
public:
    Box() {
        cout << "调用构造函数！" << endl;
    }

    ~Box() {
        cout << "调用析构函数！" << endl;
    }

};

void Box::print_Num() {
    cout << "the nums is : " << nums << endl;

}

int main() {
    Box *boxes = new Box[3];

    delete[] boxes;

    return 0;

}